/**
 * 
 */
package org.droid.campus.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Sojex
 *
 */
public interface WebActionHandler {
	
	/**
	 *  We called this method for every request .
	 *  You can use this to validate your parameters , or something else .
	 *  @param request : the Http Request from use , you can change it with a wrapper .
	 *  @return : Only 3 items is allowed . and must like this : Object[]{Boolean , HttpServletRequestWrapper , ActionStatus} . It means Object[].length = 3 .
	 *  
	 * */
	public boolean prepare(HttpServletRequest request) ;
	
	public HttpServletRequest Do(HttpServletRequest request, HttpServletResponse response) ;
	

}
